home *** CD-ROM | disk | FTP | other *** search
/ Aminet 41 / Aminet 41 (2001)(Schatztruhe)[!][Feb 2001].iso / Aminet / dev / basic / clockita.readme < prev    next >
Encoding:
Text File  |  2001-01-03  |  12.1 KB  |  202 lines

  1. Short:        Italian clock with alarm + source code
  2. Author:       stefano.regattin@tin.it (Stefano Regattin)
  3. Uploader:     stefano.regattin@tin.it (Stefano Regattin)
  4. Type:         dev/basic
  5. Distribution: OK
  6.  
  7. Date: Monday, 4th December 2000
  8. Name of the program: Orologio (clock)
  9. This is an italian evolution of the example program "Clock.bb" supplied with
  10. Blitz2.
  11. You can change the clock font by activating the window and clicking the LEFT
  12. MOUSE BUTTON; in this case you will see a new window containing some string
  13. gadgets: the top-left gadget must be used to type the alarm's hour and mins; the
  14. next gadget at the right must be used to activate or to deactivate the alarm;
  15. the below gadget must be used to select the font: type the name of the font
  16. (with or without the ".font" suffix) that you know it resides in your FONTS:
  17. drawer; pressing RIGHTAMIGA-X keys you will clean the gadget; pressing
  18. subsequently the ENTER key you will be able to see all fonts that resides in
  19. your FONTS: drawer and you will can select one of these.
  20. In this case the last gadget at top-right will show the height of the font you
  21. have selected and always you will can modify it.
  22. The following two gadgets are for type into the coordinates of the top-left
  23. corner of the clock window.
  24. The four arrows box named "Angolo fisso" is for select the fixed angle: this
  25. angle (normally the top-left angle) will be ever locked on screen, giving the
  26. other three to change their position depending on the settings; the coordinates
  27. you type and save are related to this one; remember this when you change the
  28. coordinates and/or the angle by tooltypes (see below).
  29. The following two gadgets are to type into the coordinates of the bottom-right
  30. corner of the clock window; the possible combinations of the four gadgets for
  31. the top-left and for the bottom-right coordinates are shown as four arrows in
  32. the gadget previously described and are: TOP-LEFT (standard), TOP-RIGHT,
  33. BOTTOM-RIGHT and BOTTOM-LEFT.
  34. The "Colori" gadget opens a new window to select the text colour and background
  35. colour for the clock: point with the mouse pointer on a colour, and click the
  36. LEFT MOUSE BUTTON to choose it as text colour, or click the RIGHT MOUSE BUTTON
  37. to choose it as background colour.
  38.  
  39. Note that you cannot select the same colour as text colour and background
  40. colour.
  41. The "*** Salva ***" gadget permits to save any change.
  42. You can specify the font name, the font size, the coordinates of the position of
  43. the main window, the related angle, the text colour and the background colour by
  44. tooltypes; when the program is launched if there are the tooltypes the
  45. informations are taken from these, otherwise the parameters are set to default.
  46. For who don't know, tooltypes are those parameters shown in the icon
  47. information  window that is shown if you select the voice INFORMATION of the
  48. ICON menu.
  49. If there is no tooltype DONOTWAIT, when you save the changes it will be added.
  50. If you have activated the alarm, in the clock window will be shown a bubble;
  51. you can deactivated it pointing with the pointer on the bubble and clicking with
  52. the LEFT MOUSE BUTTON.
  53. The default font is "Data70.font", a font made by me supplied with the
  54. program.
  55. I think that this font is better than the font "2001.font" supplied with AMOS
  56. Pro.
  57. My font is suited for italian language, for which the character "è" capital is
  58. obtainable with the "§" character; however it have all the chars from (ASCII) 32
  59. to 255 now!
  60. Use it for games in low resolution, it is better! How to install the "Data70"
  61. font: copy in your drawer "FONTS:" the file named "Data70.font".
  62. Create in your drawer "FONTS:" the drawer "Data70" and copy into it the file
  63. "13".
  64. If you have Blitz2 There is the source code (Orologio.bb2) for free
  65. modifications; if you don't have it, you can however analyze the source code by
  66. a text viewer like MultiView reading the file named "Orologio.text"; if you
  67. load the source code in Blitz2 and you see some "?????" instead of keywords, you
  68. cannot compile the program because your "deflibs" file do not have all the
  69. keywords needed: you can find a sufficiently updated deflibs file in the
  70. package "Blitz Support Suite", that was sold alone on three diskettes ("BSS1",
  71. "BSS2" and  "BSS3"), that now are part of the "Ultimate Blitz Basic" CD, that
  72. is sold in the UK by Epic Marketing (http://www.epicmarketing.ltd.net).
  73. If you want to install by yourself the keywords needed, you must have all
  74. the libs in BlitzLibs: and the command for AmigaDOS "MakeDefLibs" from Blitz
  75. Support Suite; after this you can run from shell the command MakeDefLibs with no
  76. parameters, that it will build up a new deflibs file from your libs in DefLibs:,
  77. backing up the previously one.
  78. The executable icon is a ColorIcon (OS3.5) taken from the archive
  79. ReallyIcons.lha by Angel Schnider.
  80. Notes: I have removed a previous version bug of gadget garbages in the settings
  81. window that it occurred after the font was changed and then the settings window
  82. was recalled; now there are problems no more.
  83. I have corrected a defect of the previous version that it happens if you have
  84. deactivated the alarm clicking on the bubble: the alarm gadget in the settings
  85. window did not deselect automatically; now the problem is solved.
  86. Now The clock use your workbench presetted sound not only for the alarm, but
  87. also to count the hours when these change.
  88. I am not responsible of any damage this program can occurs to your system; you
  89. use it at your own risk!
  90. See my home page to the Internet address:
  91. http://members.tripod.it/esseerre/Stefano.html
  92. The following is the same text in italian.
  93.  
  94. Data: lunedì, 4 dicembre 2000
  95. Nome del programma: Orologio
  96. Questa è un'evoluzione italiana del programma d'esempio "Clock.bb" fornito con
  97. Blitz2.
  98. Potete cambiare il font dell'orologio attivando la finestra e cliccando con il
  99. TASTO SINISTRO DEL MOUSE; in questo caso vedrete una nuova finestra contenente
  100. alcuni campi per l'immissione di testo: il campo in alto a sinistra deve essere
  101. usato per digitare l'ora ed i minuti dell'allarme; il campo successivo a destra
  102. deve essere usato per attivare o disattivare l'allarme; il campo seguente in
  103. basso deve essere usato per selezionare il font; digitate il nome del font (con
  104. o senza il suffisso ".font") che sapete che si trova nel vostro cassetto FONTS:;
  105. premendo i tasti AMIGA-destro e X pulirete il campo; premendo successivamente il
  106. tasto ENTER sarete in grado di vedere tutti i font che si trovano nel vostro
  107. cassetto FONTS: e potrete selezionarne uno; in questo caso il campo in alto a
  108. destra mosterà l'altezza del font selezionato che potrete sempre modificare.
  109. I seguenti due campi in basso servono per impostare le coordinate dell'angolo in
  110. alto a sinistra della finestra dell'orologio.
  111. Il quadrato con dentro quattro freccie serve per la selezione dell'angolo fisso:
  112. questo angolo (solitamente l'angolo in alto a sinistra) rimarrà fisso sullo
  113. schermo, lasciando liberi gli altri tre di cambiare la loro posizione a seconda
  114. dei parametri; le coordinate che digitate e che salvate sono relative a
  115. questo angolo; ricordavetelo quando cambiate le coordinate e/o l'angolo dai
  116. tooltype (vedi di seguito).
  117. I seguenti due campi in basso servono per impostare le coordinate dell'angolo in
  118. basso a destra della finestra dell'orologio; le combinazioni possibili dei campi
  119. per le coordinate dell'angolo in alto a sinistra e per quello in basso a destra
  120. sono mostrate come freccie nel quadrato prcedentemente descritto e sono
  121. rispettivamente: l'angolo in alto a sinistra (TOP-LEFT), che è la condizione
  122. normale, l'angolo in alto a destra (TOP-RIGHT), l'angolo in basso a destra
  123. (BOTTOM-RIGHT) e l'angolo in basso a sinistra (BOTTOM-LEFT).
  124. Il bottone "Colori" apre una nuova finestra per la selezione dei colori del
  125. testo e dello sfondo: puntate con il puntatore del mouse su un colore, e
  126. cliccate il TASTO SINISTRO DEL MOUSE per sceglierlo come colore del testo, o
  127. cliccate con il TASTO DESTRO DEL MOUSE per sceglierlo come colore di sfondo.
  128. Notate che non potete selezionare lo stesso colore per il testo e per lo sfondo.
  129. Il bottone "*** Salva ***" permette di salvare ogni cambiamento.
  130. Potete specificare il nome del font, l'altezza del font, le coordinate della
  131. posizione della finestra principale, l'angolo relativo, il colore del testo ed
  132. il colore dello sfondo con i tooltype; quando lanciate il programma se ci sono i
  133. tooltype le informazioni vengono prese da questi, altrimenti i parametri sono
  134. impostati ai valori di default.
  135. Per chi non lo sapesse, i tooltype sono quei parametri mostrati nella finestra
  136. delle informazioni dell'icona che esce se selezionate la voce INFORMAZIONI dal
  137. menù ICONE.
  138. Se non c'è il tooltype DONOTWAIT, verrà aggiunto quando salverete i cambiamenti.
  139. Se avete attivato l'allarme, nella finestra dell'orologio comparirà una bolla; 
  140. potete disattivarlo in qualsiasi momento portando il puntatore del mouse sulla
  141. stessa e cliccando con il TASTO SINISTRO DEL MOUSE.
  142. Il font di default è "Data70.font", un font fatto da me fornito col programma.
  143. Io credo che questo font sia migliore del font "2001.font" fornito con AMOS Pro.
  144. Il mio font è adattato per la lingua italiana, per la quale il carattere "è"
  145. maiscolo è ottenibile con il carattere "§"; comunque ha tutti i caratteri dal
  146. (ASCII) 32 al 255. Usatelo in giochi a bassa risoluzione, rende meglio!
  147. Come installare il font "Data70": copiate nel vostro cassetto "FONTS:" il file
  148. "Data70.font".
  149. Create nel vostro cassetto "FONTS:" il cassetto "Data70" e copiatevi il file
  150. "13".
  151. Se avete Blitz2 c'è il codice sorgente (Orlogio.bb2) per libere modifiche; se
  152. non lo avete, potete lo stesso analizzare il codice sorgente leggendo con un
  153. visualizzatore di testi come MultiView il file "Orologio.text"; se voi caricate
  154. il codice sorgente in Blitz2 e vedete dei "?????" al posto dei comandi, non
  155. potete compilare il programma perché il vostro file "deflibs" non ha tutti i
  156. comandi richiesti; potrete trovare un file deflibs aggiornato nel pacchetto
  157. "Blitz Support Suite", che era venduto a parte su tre dischetti ("BSS1", "BSS2"
  158. e "BSS3"), che ora sono parte del CD "Ultimate Blitz Basic", venduto in Italia
  159. da NonSoLoSoft (http://www.diff.org/nonsolosoft).
  160. Se volete installare da soli i comandi necessari, dovete avere tutte le librerie
  161. in BlitzLibs: ed il comando per l'AmigaDOS "MakeDefLibs" dal pacchetto Blitz
  162. Support Suite; dopo di ciò potete eseguire il comando MakeDefLibs senza
  163. parametri da shell, che creerà un nuovo file deflibs usando le vostre librerie
  164. in DefLibs:, conservando il file deflibs precedente.
  165. L'icona dell'eseguiblie e un'icona ColorIcon (OS3.5) presa dall'archivio
  166. ReallyIcons.lha di Angel Schnider.
  167. Note: ho rimosso il problema di una precedente versione che creava dei campi
  168. sbagliati nella finestra dei parametri, il che avveniva dopo che il font veniva
  169. cambiato e veniva richiamata la finestra dei parametri; ora non ci sono più
  170. problemi.
  171. Ho corretto il difetto della precedente versione che si verificava se si
  172. disattivava l'allarme cliccando sulla bolla: il bottone per la selezione
  173. dell'allarme nella finestra delle impostazioni non si deselezionava
  174. automatcamente; ora il problema è risolto.
  175. Ora l'orologio usa il suono preimpostato del workbench non solo per l'allarme,
  176. ma anche per contare le ore quando cambiano.
  177. Non sono responsabile dei danni che questo programma può arrecare al vostro
  178. sistema; lo usate a vostro esclusivo rischio!
  179. Guardate la mia pagina su Internet all'indirizzo:
  180. http://members.tripod.it/esseerre/Stefano.html
  181.  
  182. Ciao!
  183.  
  184.  
  185. ============================= Archive contents =============================
  186.  
  187. Original  Packed Ratio    Date     Time    Name
  188. -------- ------- ----- --------- --------  -------------
  189.     2250     801 64.4% 04-Jul-00 12:12:32  Fonts.info
  190.      264      29 89.0% 01-Jan-00 20:09:12 +Data70.font
  191.     3560    1819 48.9% 20-Dec-99 13:39:04 +13
  192.     1103     336 69.5% 22-May-00 22:33:46  InstallFont.Execute
  193.     6219    1149 81.5% 04-Jul-00 12:12:32  InstallFont.Execute.info
  194.    19648    4511 77.0% 21-May-00 10:54:18  Orologio.bb2
  195.     1280     832 35.0% 04-Jul-00 12:12:30  Orologio.bb2.info
  196.    26746   20126 24.7% 04-Jul-00 12:12:32  Orologio.info
  197.    22951    4902 78.6% 21-May-00 10:54:50  Orologio.text
  198.      996     225 77.4% 04-Jul-00 12:12:30  Orologio.text.info
  199.    85152   39086 54.0% 16-Nov-00 22:27:02  Orologio
  200. -------- ------- ----- --------- --------
  201.   170169   73816 56.6% 05-Dec-100 23:46:00   11 files
  202.